<include file="Public:pagerForm" />
<div id="main" class="main" >
    <div class="content">
        <div class="title">编辑链接 [ <A HREF="__URL__">返回列表</A> ]</div>
        <div id="result" class="result none"></div>
        <FORM METHOD=POST id="form1" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
            <TABLE cellpadding=3 cellspacing=3 >
                <TR>
                    <TD class="tRight" >标题：</TD>
                    <TD class="tLeft" ><input TYPE="text" class="large bLeft" check='Require' warning="标题不能为空" NAME="title" value="{$vo.title}"></TD>
                </TR>
                <TR>
                    <TD class="tRight" >LOGO地址：</TD>
                    <TD class="tLeft" ><input TYPE="text" class="large bLeft" NAME="logo" value="{$vo.logo}"></TD>
                </TR>
                <TR>
                    <TD class="tRight" >链接地址：</TD>
                    <TD class="tLeft" ><input TYPE="text" class="large bLeft" NAME="url"  value="{$vo.url}"></TD>
                </TR>
                <TR>
                    <TD class="tRight">类型：</TD>
                    <TD class="tLeft"><SELECT class="medium bLeft" NAME="type">
                            <option <eq name="vo.type" value="0">selected</eq> value="0">友情链接</option>
                            <option <eq name="vo.type" value="1">selected</eq> value="1">合作伙伴</option>
                        </SELECT></TD>
                </TR>
                <TR>
                    <TD class="tRight tTop">描 述：</TD>
                    <TD class="tLeft"><TEXTAREA class="large bLeft" NAME="remark"  ROWS="5" COLS="57">{$vo.remark}</TEXTAREA></TD>
                </TR>
                <TR>
                    <TD class="tRight">状态：</TD>
                    <TD class="tLeft">
                        <SELECT class="small bLeft" NAME="status">
                            <option <eq name="vo.status" value="1">selected</eq> value="1">启用</option>
                            <option <eq name="vo.status" value="0">selected</eq> value="0">禁用</option>
                        </SELECT>
                    </TD>
                </TR>
                <TR>
                    <TD ></TD>
                    <TD class="center"><div style="width:85%;margin:5px">
                            <input TYPE="hidden" name="id" value="{$vo.id}">
                            <input TYPE="hidden" name="ajax" value="1">
                            <div class="impBtn fLeft"><input TYPE="button" value="保存" onclick="sendForm('form1','__URL__/update/','tips')" class="save imgButton"></div>
                            <div class="impBtn fRig"><input TYPE="reset" class="reset imgButton" onclick="$('tips').innerHTML = 'update';" value="清空" ></div>
                        </div>
                    </TD>
                </TR>
            </TABLE>
        </FORM>
    </div>
</div>